Connected components algorithms for mesh-connected parallel computers
نویسندگان
چکیده
We present a new CREW PRAM algorithm for nding connected components. For a graphG with n vertices andm edges, algorithmA0 requires at mostO(logn) parallel steps and performsO((n+m) logn) work in the worst case. The advantage our algorithm has over others in the literature is that it can be adapted to a 2-D mesh-connected communication model in which all CREW operations are replaced byO(logn) parallel row and column operations without increasing the time complexity. We present the mapping of A0 to a mesh-connected computer and describe two implementations, A1 and A2. Algorithm A1, which uses an adjacency matrix to represent the graph, performs O(n logn) work. Hence, it only achieveswork e ciency on dense graphs. The second implementation,A2, uses a sparse representation of the adjacency matrix and again performs O(logn) row and column operations but reduces the work to O((m + n) logn) on all graphs. We report MasPar MP-1 performance gures for implementations of the algorithms described. The implementations are exercised on a variety of parametrically generated graphs, di ering in structure and connectivity. These graphs are generated externally and read in as input for the algorithms, permitting comparison of di erent implementations on identical graphs.
منابع مشابه
Algorithms Minimizing Peak Energy on Mesh-Connected Systems
There are many situations in parallel computing in which reducing power consumption is an important goal. Here we consider mesh-connected systems where each processor is connected to its neighbors in a regular grid. Such systems have been studied and constructed at a wide range of scales, from cellular automata to sensor networks to supercomputer interconnection networks. We are especially inte...
متن کاملAlgorithms Minimizing Peak Power on Mesh-Connected Systems
There are many situations in parallel computing where reducing power consumption is an important goal. We consider mesh-connected systems where each processor is connected to its neighbors in a regular grid, such as occurs in cellular automata, sensor networks, and some supercomputers, focusing on systems with myriad simple processors on a chip. Most algorithms for such computers assume that al...
متن کاملParallel Enclosing Rectangle on Simd Machines 1
In this paper, we present a parallel algorithm for nding the smallest enclosing rectangle for a set of n points. The parallel algorithm can be generally implemented on mesh{connected and cube{connected SIMD computers with the time complexity O(p n) and O(log 2 n) respectively .
متن کاملPosition-invariant hierarchical image analysis
Spatial hierarchy is an appealing strategy for image analysis, but standard hierarchical methods give increasingly sparse, position dependent results with increasing level. This paper endows simple hierarchical techniqueswith positioninvariance by an architectural extension, broadening their scope with no increase in algorithmic complexity. The tree structure is extended intoan exhaustive hiera...
متن کاملEfficient Parallel Permutation-Based Range-Join Algorithms on Mesh-Connected Computers
This paper proposes three eecient parallel algorithms for computing the range-join of two relations on two-dimensional n m mesh-connected computers, where n and m are the numbers of the rows and columns respectively. After sorting all subsets of both relations, all proposed algorithms permute all sorted subsets of one relation to each processor in the computers, where they are joined with the s...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1994